﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace AbpCompanyName.AbpProjectName.Migrations;

public partial class Upgraded_To_Abp_4_8_0 : Migration
{
    protected override void Up(MigrationBuilder migrationBuilder)
    {
        migrationBuilder.AlterColumn<string>(
            name: "LanguageName",
            table: "AbpLanguageTexts",
            maxLength: 128,
            nullable: false,
            oldClrType: typeof(string),
            oldMaxLength: 10);

        migrationBuilder.AlterColumn<string>(
            name: "Name",
            table: "AbpLanguages",
            maxLength: 128,
            nullable: false,
            oldClrType: typeof(string),
            oldMaxLength: 10);
    }

    protected override void Down(MigrationBuilder migrationBuilder)
    {
        migrationBuilder.AlterColumn<string>(
            name: "LanguageName",
            table: "AbpLanguageTexts",
            maxLength: 10,
            nullable: false,
            oldClrType: typeof(string),
            oldMaxLength: 128);

        migrationBuilder.AlterColumn<string>(
            name: "Name",
            table: "AbpLanguages",
            maxLength: 10,
            nullable: false,
            oldClrType: typeof(string),
            oldMaxLength: 128);
    }
}
